package com.ye.mybatis.mapper;

import com.ye.mybatis.pojo.User;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserMapper {


    User getUserByEmpId(@Param("empId") Integer empId);

    User getUserAndDepartmentByEmpId(@Param("empId") Integer empId);


    User getUserAndDepartmentByStepOne(@Param("empId") Integer empId);

    User getDepartmentAndUserByStepTwo(@Param("dept_id") Integer dept_id);
}
